package com.treasure.mall.biz.config.wechat;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 *
 * +---------------------------------------------------------
 * * @package: com.treasure.mall.biz.config.wechat
 * * @author: guomw (guomwchen@foxmail.com)
 * * @date: 2020/6/11 11:42
 * * @since: V1.0.0
 * +---------------------------------------------------------
 * 注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的
 * Copyright 2019-2022 com.treasure.mall.biz.config.wechat Inc. All rights reserved.
 */
@Getter
@Setter
@Component
@ConfigurationProperties(prefix = "wechat")
public class WeChatConfig {

    /**
     * 小程序appID
     */
    private String miniAppId;
    /**
     * 小程序appSecret
     */
    private String miniAppSecret;
    /**
     * 微信公众号AppId
     */
    private String wechatAppId;
    /**
     * 微信公众号secret
     */
    private String wechatAppSecret;
    /**
     * EncodingAESKey 消息加解密密钥
     */
    private String aesKey;
    /**
     * 令牌(Token)
     */
    private String token;
}
